package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallCategory;
import com.ctsi.ssdc.domain.LitemallCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallCategoryRepository extends BaseRepository<LitemallCategory, Integer, LitemallCategoryExample> {
    @Override
    long countByExample(LitemallCategoryExample example);

    @Override
    int deleteByExample(LitemallCategoryExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallCategory record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallCategory record);

    @Override
    List<LitemallCategory> selectByExample(LitemallCategoryExample example);

    @Override
    LitemallCategory selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);

    @Override
    int updateByExample(@Param("record") LitemallCategory record, @Param("example") LitemallCategoryExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallCategory record);

    @Override
    int updateByPrimaryKey(LitemallCategory record);

    List<LitemallCategory> selectByExampleSelective(@Param("example") LitemallCategoryExample example, @Param("selective") LitemallCategory.Column ... selective);
}